import { lazy } from "react"
import WebIcon from "@/components/WebIcon"
import i18n from '@/lang'
const Dashboard = lazy(() => import("@/pages/Dashboard"))

// 欢迎页
const HomeRoute = [
  {
    path: "",
    element: <Dashboard />,
    meta: {
      title: i18n.t('router.home'),
      // 不需要验证权限
      notNeedAuth: true,
      icon: <WebIcon name='data'/>
    }
  }
]
export default HomeRoute